package com.ruoyi.projectInfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维修内容对象 house_project_info
 * 
 * @author tuyeqi
 * @date 2023-05-15
 */
public class HouseProjectInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维修内容id */
    private Long infoId;

    /** 维修内容 */
    @Excel(name = "维修内容")
    private String infoName;

    /** 保修年限，repair001，1:1年，2:2年，3:3年，4:4年，5:5年 */
    @Excel(name = "保修年限",readConverterExp = "5=5年,1=1年,2=2年,3=3年,4=4年")
    private String projectLimit;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setInfoId(Long infoId) 
    {
        this.infoId = infoId;
    }

    public Long getInfoId() 
    {
        return infoId;
    }
    public void setInfoName(String infoName) 
    {
        this.infoName = infoName;
    }

    public String getInfoName() 
    {
        return infoName;
    }
    public void setProjectLimit(String projectLimit) 
    {
        this.projectLimit = projectLimit;
    }

    public String getProjectLimit() 
    {
        return projectLimit;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("infoId", getInfoId())
            .append("infoName", getInfoName())
            .append("projectLimit", getProjectLimit())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .append("remark", getRemark())
            .toString();
    }
}
